package org.example.wechat.controller;

import org.example.wechat.model.User;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.Random;

@SpringBootTest
public class UserControllr {
    @Autowired
    private UserController userController;

    @Test
    public void insertHeadPortrait() {
        for (int i = 9642; i < 14411; i++) {
            String url = "avatars_" + ((i % 41)+1);
            System.out.println("id:" +i + "   url->" + url);
            // 调用注册方法
        }
    }
}
